@arbol-ai/sdk 2.9.0 → 2.11.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/nuevaEps/affiliations/client.d.ts +3 -33
- package/dist/nuevaEps/affiliations/client.js +1 -1
- package/dist/nuevaEps/affiliations/index.d.ts +1 -0
- package/dist/nuevaEps/affiliations/models.d.ts +136 -0
- package/dist/nuevaEps/affiliations/models.js +3 -0
- package/dist/nuevaEps/connections/client.d.ts +15 -48
- package/dist/nuevaEps/connections/client.js +8 -9
- package/dist/nuevaEps/connections/index.d.ts +1 -0
- package/dist/nuevaEps/connections/models.d.ts +334 -0
- package/dist/nuevaEps/connections/models.js +10 -0
- package/dist/nuevaEps/index.d.ts +1 -1
- package/dist/nuevaEps/models.d.ts +519 -151
- package/dist/raiz/agents/models.d.ts +41 -0
- package/dist/raiz/evalCases/client.d.ts +56 -6
- package/dist/raiz/evalCases/client.js +10 -2
- package/dist/raiz/evalCases/index.d.ts +1 -1
- package/dist/raiz/evalCases/models.d.ts +6 -2
- package/dist/raiz/evalRuns/client.d.ts +11 -3
- package/dist/raiz/evalRuns/models.d.ts +10 -0
- package/dist/raiz/models.d.ts +7 -0
- package/package.json +3 -3
package/dist/nuevaEps/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 {
|
|
5
|
+
export type { NuevaEpsAuthorizationsUnavailableError, NuevaEpsAuthorizationsUnavailableFailure, NuevaEpsEmpty, NuevaEpsForbiddenFailure, NuevaEpsInternalError, NuevaEpsInternalFailure, NuevaEpsInvalidInputError, NuevaEpsInvalidInputFailure, NuevaEpsInvalidInputFailureData, NuevaEpsLoginCooldownFailure, NuevaEpsLoginRejectedFailure, NuevaEpsNotConfiguredFailure, NuevaEpsOutcomeUnknownFailure, NuevaEpsPortalChangedFailure, NuevaEpsPortalUnavailableFailure, NuevaEpsRateLimitedFailure, NuevaEpsRegionBlockedFailure, NuevaEpsRequestTooLargeError, NuevaEpsRequestTooLargeFailure, NuevaEpsResponseMetadata, NuevaEpsSessionBusyFailure, NuevaEpsSessionRequiredFailure, NuevaEpsUnauthorizedError, NuevaEpsUnauthorizedFailure, NuevaEpsUnsupportedMediaTypeError, NuevaEpsUnsupportedMediaTypeFailure, NuevaEpsUpstreamTimeoutError, NuevaEpsUpstreamTimeoutFailure, NuevaEpsUpstreamUnavailableFailure, } from "./models.js";
|
|
@@ -1,154 +1,522 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
1
|
+
import type { ValidationIssue } from "../models.js";
|
|
2
|
+
/**
|
|
3
|
+
* A failed answer.
|
|
4
|
+
*/
|
|
5
|
+
export interface NuevaEpsAuthorizationsUnavailableError {
|
|
3
6
|
data: null;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
data: {
|
|
14
|
-
[key: string]: unknown;
|
|
15
|
-
};
|
|
16
|
-
message: "A valid access token is required.";
|
|
17
|
-
retryable: false;
|
|
18
|
-
} | {
|
|
19
|
-
code: "FORBIDDEN";
|
|
20
|
-
data: {
|
|
21
|
-
[key: string]: unknown;
|
|
22
|
-
};
|
|
23
|
-
message: "The token does not authorize this operation.";
|
|
24
|
-
retryable: false;
|
|
25
|
-
} | {
|
|
26
|
-
code: "NOT_FOUND";
|
|
27
|
-
data: {
|
|
28
|
-
[key: string]: unknown;
|
|
29
|
-
};
|
|
30
|
-
message: "The requested operation does not exist.";
|
|
31
|
-
retryable: false;
|
|
32
|
-
} | {
|
|
33
|
-
code: "HTTP_METHOD_NOT_ALLOWED";
|
|
34
|
-
data: {
|
|
35
|
-
[key: string]: unknown;
|
|
36
|
-
};
|
|
37
|
-
message: "The HTTP method is not supported for this resource.";
|
|
38
|
-
retryable: false;
|
|
39
|
-
} | {
|
|
40
|
-
code: "REQUEST_TOO_LARGE";
|
|
41
|
-
data: {
|
|
42
|
-
[key: string]: unknown;
|
|
43
|
-
};
|
|
44
|
-
message: "The request exceeds the allowed size.";
|
|
45
|
-
retryable: false;
|
|
46
|
-
} | {
|
|
47
|
-
code: "UNSUPPORTED_MEDIA_TYPE";
|
|
48
|
-
data: {
|
|
49
|
-
[key: string]: unknown;
|
|
50
|
-
};
|
|
51
|
-
message: "The request content type is not supported.";
|
|
52
|
-
retryable: false;
|
|
53
|
-
} | {
|
|
54
|
-
code: "RATE_LIMITED";
|
|
55
|
-
data: {
|
|
56
|
-
[key: string]: unknown;
|
|
57
|
-
};
|
|
58
|
-
message: "The request rate limit was exceeded. Try again later.";
|
|
59
|
-
retryable: true;
|
|
60
|
-
} | {
|
|
61
|
-
code: "INTERNAL_ERROR";
|
|
62
|
-
data: {
|
|
63
|
-
[key: string]: unknown;
|
|
64
|
-
};
|
|
65
|
-
message: "The service could not complete the operation.";
|
|
66
|
-
retryable: false;
|
|
67
|
-
} | {
|
|
68
|
-
code: "UPSTREAM_UNAVAILABLE";
|
|
69
|
-
data: {
|
|
70
|
-
[key: string]: unknown;
|
|
71
|
-
};
|
|
72
|
-
message: "The upstream service could not complete the request.";
|
|
73
|
-
retryable: true;
|
|
74
|
-
} | {
|
|
75
|
-
code: "UPSTREAM_TIMEOUT";
|
|
76
|
-
data: {
|
|
77
|
-
[key: string]: unknown;
|
|
78
|
-
};
|
|
79
|
-
message: "The upstream service did not respond before its deadline.";
|
|
80
|
-
retryable: true;
|
|
81
|
-
} | {
|
|
82
|
-
code: "OUTCOME_UNKNOWN";
|
|
83
|
-
data: {
|
|
84
|
-
[key: string]: unknown;
|
|
85
|
-
};
|
|
86
|
-
message: "The operation may have been applied; check its result before repeating it.";
|
|
87
|
-
retryable: false;
|
|
88
|
-
} | {
|
|
89
|
-
code: "NOT_CONFIGURED";
|
|
90
|
-
data: {
|
|
91
|
-
[key: string]: unknown;
|
|
92
|
-
};
|
|
93
|
-
message: "This organization has no verified Nueva EPS connection.";
|
|
94
|
-
retryable: false;
|
|
95
|
-
} | {
|
|
96
|
-
code: "LOGIN_REJECTED";
|
|
97
|
-
data: {
|
|
98
|
-
[key: string]: unknown;
|
|
99
|
-
};
|
|
100
|
-
message: "Nueva EPS did not accept the provider login. Do not retry automatically.";
|
|
101
|
-
retryable: false;
|
|
102
|
-
} | {
|
|
103
|
-
code: "PORTAL_UNAVAILABLE";
|
|
104
|
-
data: {
|
|
105
|
-
[key: string]: unknown;
|
|
106
|
-
};
|
|
107
|
-
message: "The provider portal could not complete this request.";
|
|
108
|
-
retryable: false;
|
|
109
|
-
} | {
|
|
110
|
-
code: "REGION_BLOCKED";
|
|
111
|
-
data: {
|
|
112
|
-
[key: string]: unknown;
|
|
113
|
-
};
|
|
114
|
-
message: "This container cannot access the provider login page.";
|
|
115
|
-
retryable: false;
|
|
116
|
-
} | {
|
|
117
|
-
code: "PORTAL_CHANGED";
|
|
118
|
-
data: {
|
|
119
|
-
[key: string]: unknown;
|
|
120
|
-
};
|
|
121
|
-
message: "The response does not match the verified provider protocol.";
|
|
122
|
-
retryable: false;
|
|
123
|
-
} | {
|
|
124
|
-
code: "AUTHORIZATIONS_UNAVAILABLE";
|
|
125
|
-
data: {
|
|
126
|
-
[key: string]: unknown;
|
|
127
|
-
};
|
|
128
|
-
message: "The provider authorization lookup has not been verified. No empty result is implied.";
|
|
129
|
-
retryable: false;
|
|
130
|
-
} | {
|
|
131
|
-
code: "SESSION_REQUIRED";
|
|
132
|
-
data: {
|
|
133
|
-
[key: string]: unknown;
|
|
134
|
-
};
|
|
135
|
-
message: "The provider session expired. A new bounded login is required.";
|
|
136
|
-
retryable: false;
|
|
137
|
-
} | {
|
|
138
|
-
code: "SESSION_BUSY";
|
|
139
|
-
data: {
|
|
140
|
-
[key: string]: unknown;
|
|
141
|
-
};
|
|
142
|
-
message: "Another session operation is in progress.";
|
|
143
|
-
retryable: true;
|
|
144
|
-
} | {
|
|
145
|
-
code: "LOGIN_COOLDOWN";
|
|
146
|
-
data: {
|
|
147
|
-
[key: string]: unknown;
|
|
148
|
-
};
|
|
149
|
-
message: "Login attempts are temporarily paused after a submitted or uncertain attempt.";
|
|
150
|
-
retryable: false;
|
|
151
|
-
});
|
|
152
|
-
metadata: ResponseMetadata;
|
|
7
|
+
/**
|
|
8
|
+
* The provider authorization lookup has not been verified. No empty result is
|
|
9
|
+
* implied.
|
|
10
|
+
*/
|
|
11
|
+
error: NuevaEpsAuthorizationsUnavailableFailure;
|
|
12
|
+
/**
|
|
13
|
+
* What every answer carries besides its data or error.
|
|
14
|
+
*/
|
|
15
|
+
metadata: NuevaEpsResponseMetadata;
|
|
153
16
|
success: false;
|
|
154
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* The provider authorization lookup has not been verified. No empty result is
|
|
20
|
+
* implied.
|
|
21
|
+
*/
|
|
22
|
+
export interface NuevaEpsAuthorizationsUnavailableFailure {
|
|
23
|
+
/**
|
|
24
|
+
* The failure code, stable across releases.
|
|
25
|
+
*/
|
|
26
|
+
code: "AUTHORIZATIONS_UNAVAILABLE";
|
|
27
|
+
/**
|
|
28
|
+
* No fields.
|
|
29
|
+
*/
|
|
30
|
+
data: NuevaEpsEmpty;
|
|
31
|
+
/**
|
|
32
|
+
* What went wrong, for people; it never contains input values.
|
|
33
|
+
*/
|
|
34
|
+
message: string;
|
|
35
|
+
/**
|
|
36
|
+
* Whether repeating the same request may succeed.
|
|
37
|
+
*/
|
|
38
|
+
retryable: false;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* No fields.
|
|
42
|
+
*/
|
|
43
|
+
export type NuevaEpsEmpty = {
|
|
44
|
+
[key: string]: unknown;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* The token does not authorize this operation.
|
|
48
|
+
*/
|
|
49
|
+
export interface NuevaEpsForbiddenFailure {
|
|
50
|
+
/**
|
|
51
|
+
* The failure code, stable across releases.
|
|
52
|
+
*/
|
|
53
|
+
code: "FORBIDDEN";
|
|
54
|
+
/**
|
|
55
|
+
* No fields.
|
|
56
|
+
*/
|
|
57
|
+
data: NuevaEpsEmpty;
|
|
58
|
+
/**
|
|
59
|
+
* What went wrong, for people; it never contains input values.
|
|
60
|
+
*/
|
|
61
|
+
message: string;
|
|
62
|
+
/**
|
|
63
|
+
* Whether repeating the same request may succeed.
|
|
64
|
+
*/
|
|
65
|
+
retryable: false;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* A failed answer.
|
|
69
|
+
*/
|
|
70
|
+
export interface NuevaEpsInternalError {
|
|
71
|
+
data: null;
|
|
72
|
+
/**
|
|
73
|
+
* The service could not complete the operation.
|
|
74
|
+
*/
|
|
75
|
+
error: NuevaEpsInternalFailure;
|
|
76
|
+
/**
|
|
77
|
+
* What every answer carries besides its data or error.
|
|
78
|
+
*/
|
|
79
|
+
metadata: NuevaEpsResponseMetadata;
|
|
80
|
+
success: false;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* The service could not complete the operation.
|
|
84
|
+
*/
|
|
85
|
+
export interface NuevaEpsInternalFailure {
|
|
86
|
+
/**
|
|
87
|
+
* The failure code, stable across releases.
|
|
88
|
+
*/
|
|
89
|
+
code: "INTERNAL_ERROR";
|
|
90
|
+
/**
|
|
91
|
+
* No fields.
|
|
92
|
+
*/
|
|
93
|
+
data: NuevaEpsEmpty;
|
|
94
|
+
/**
|
|
95
|
+
* What went wrong, for people; it never contains input values.
|
|
96
|
+
*/
|
|
97
|
+
message: string;
|
|
98
|
+
/**
|
|
99
|
+
* Whether repeating the same request may succeed.
|
|
100
|
+
*/
|
|
101
|
+
retryable: false;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* A failed answer.
|
|
105
|
+
*/
|
|
106
|
+
export interface NuevaEpsInvalidInputError {
|
|
107
|
+
data: null;
|
|
108
|
+
/**
|
|
109
|
+
* The request does not match the published schema.
|
|
110
|
+
*/
|
|
111
|
+
error: NuevaEpsInvalidInputFailure;
|
|
112
|
+
/**
|
|
113
|
+
* What every answer carries besides its data or error.
|
|
114
|
+
*/
|
|
115
|
+
metadata: NuevaEpsResponseMetadata;
|
|
116
|
+
success: false;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* The request does not match the published schema.
|
|
120
|
+
*/
|
|
121
|
+
export interface NuevaEpsInvalidInputFailure {
|
|
122
|
+
/**
|
|
123
|
+
* The failure code, stable across releases.
|
|
124
|
+
*/
|
|
125
|
+
code: "INVALID_INPUT";
|
|
126
|
+
data: NuevaEpsInvalidInputFailureData;
|
|
127
|
+
/**
|
|
128
|
+
* What went wrong, for people; it never contains input values.
|
|
129
|
+
*/
|
|
130
|
+
message: string;
|
|
131
|
+
/**
|
|
132
|
+
* Whether repeating the same request may succeed.
|
|
133
|
+
*/
|
|
134
|
+
retryable: false;
|
|
135
|
+
}
|
|
136
|
+
export interface NuevaEpsInvalidInputFailureData {
|
|
137
|
+
issues?: ValidationIssue[];
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Login attempts are temporarily paused after a submitted or uncertain attempt.
|
|
141
|
+
*/
|
|
142
|
+
export interface NuevaEpsLoginCooldownFailure {
|
|
143
|
+
/**
|
|
144
|
+
* The failure code, stable across releases.
|
|
145
|
+
*/
|
|
146
|
+
code: "LOGIN_COOLDOWN";
|
|
147
|
+
/**
|
|
148
|
+
* No fields.
|
|
149
|
+
*/
|
|
150
|
+
data: NuevaEpsEmpty;
|
|
151
|
+
/**
|
|
152
|
+
* What went wrong, for people; it never contains input values.
|
|
153
|
+
*/
|
|
154
|
+
message: string;
|
|
155
|
+
/**
|
|
156
|
+
* Whether repeating the same request may succeed.
|
|
157
|
+
*/
|
|
158
|
+
retryable: false;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Nueva EPS did not accept the provider login. Do not retry automatically.
|
|
162
|
+
*/
|
|
163
|
+
export interface NuevaEpsLoginRejectedFailure {
|
|
164
|
+
/**
|
|
165
|
+
* The failure code, stable across releases.
|
|
166
|
+
*/
|
|
167
|
+
code: "LOGIN_REJECTED";
|
|
168
|
+
/**
|
|
169
|
+
* No fields.
|
|
170
|
+
*/
|
|
171
|
+
data: NuevaEpsEmpty;
|
|
172
|
+
/**
|
|
173
|
+
* What went wrong, for people; it never contains input values.
|
|
174
|
+
*/
|
|
175
|
+
message: string;
|
|
176
|
+
/**
|
|
177
|
+
* Whether repeating the same request may succeed.
|
|
178
|
+
*/
|
|
179
|
+
retryable: false;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* This organization has no verified Nueva EPS connection.
|
|
183
|
+
*/
|
|
184
|
+
export interface NuevaEpsNotConfiguredFailure {
|
|
185
|
+
/**
|
|
186
|
+
* The failure code, stable across releases.
|
|
187
|
+
*/
|
|
188
|
+
code: "NOT_CONFIGURED";
|
|
189
|
+
/**
|
|
190
|
+
* No fields.
|
|
191
|
+
*/
|
|
192
|
+
data: NuevaEpsEmpty;
|
|
193
|
+
/**
|
|
194
|
+
* What went wrong, for people; it never contains input values.
|
|
195
|
+
*/
|
|
196
|
+
message: string;
|
|
197
|
+
/**
|
|
198
|
+
* Whether repeating the same request may succeed.
|
|
199
|
+
*/
|
|
200
|
+
retryable: false;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* The operation may have been applied; check its result before repeating it.
|
|
204
|
+
*/
|
|
205
|
+
export interface NuevaEpsOutcomeUnknownFailure {
|
|
206
|
+
/**
|
|
207
|
+
* The failure code, stable across releases.
|
|
208
|
+
*/
|
|
209
|
+
code: "OUTCOME_UNKNOWN";
|
|
210
|
+
/**
|
|
211
|
+
* No fields.
|
|
212
|
+
*/
|
|
213
|
+
data: NuevaEpsEmpty;
|
|
214
|
+
/**
|
|
215
|
+
* What went wrong, for people; it never contains input values.
|
|
216
|
+
*/
|
|
217
|
+
message: string;
|
|
218
|
+
/**
|
|
219
|
+
* Whether repeating the same request may succeed.
|
|
220
|
+
*/
|
|
221
|
+
retryable: false;
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* The response does not match the verified provider protocol.
|
|
225
|
+
*/
|
|
226
|
+
export interface NuevaEpsPortalChangedFailure {
|
|
227
|
+
/**
|
|
228
|
+
* The failure code, stable across releases.
|
|
229
|
+
*/
|
|
230
|
+
code: "PORTAL_CHANGED";
|
|
231
|
+
/**
|
|
232
|
+
* No fields.
|
|
233
|
+
*/
|
|
234
|
+
data: NuevaEpsEmpty;
|
|
235
|
+
/**
|
|
236
|
+
* What went wrong, for people; it never contains input values.
|
|
237
|
+
*/
|
|
238
|
+
message: string;
|
|
239
|
+
/**
|
|
240
|
+
* Whether repeating the same request may succeed.
|
|
241
|
+
*/
|
|
242
|
+
retryable: false;
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* The provider portal could not complete this request.
|
|
246
|
+
*/
|
|
247
|
+
export interface NuevaEpsPortalUnavailableFailure {
|
|
248
|
+
/**
|
|
249
|
+
* The failure code, stable across releases.
|
|
250
|
+
*/
|
|
251
|
+
code: "PORTAL_UNAVAILABLE";
|
|
252
|
+
/**
|
|
253
|
+
* No fields.
|
|
254
|
+
*/
|
|
255
|
+
data: NuevaEpsEmpty;
|
|
256
|
+
/**
|
|
257
|
+
* What went wrong, for people; it never contains input values.
|
|
258
|
+
*/
|
|
259
|
+
message: string;
|
|
260
|
+
/**
|
|
261
|
+
* Whether repeating the same request may succeed.
|
|
262
|
+
*/
|
|
263
|
+
retryable: false;
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* The request rate limit was exceeded. Try again later.
|
|
267
|
+
*/
|
|
268
|
+
export interface NuevaEpsRateLimitedFailure {
|
|
269
|
+
/**
|
|
270
|
+
* The failure code, stable across releases.
|
|
271
|
+
*/
|
|
272
|
+
code: "RATE_LIMITED";
|
|
273
|
+
/**
|
|
274
|
+
* No fields.
|
|
275
|
+
*/
|
|
276
|
+
data: NuevaEpsEmpty;
|
|
277
|
+
/**
|
|
278
|
+
* What went wrong, for people; it never contains input values.
|
|
279
|
+
*/
|
|
280
|
+
message: string;
|
|
281
|
+
/**
|
|
282
|
+
* Whether repeating the same request may succeed.
|
|
283
|
+
*/
|
|
284
|
+
retryable: true;
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* This container cannot access the provider login page.
|
|
288
|
+
*/
|
|
289
|
+
export interface NuevaEpsRegionBlockedFailure {
|
|
290
|
+
/**
|
|
291
|
+
* The failure code, stable across releases.
|
|
292
|
+
*/
|
|
293
|
+
code: "REGION_BLOCKED";
|
|
294
|
+
/**
|
|
295
|
+
* No fields.
|
|
296
|
+
*/
|
|
297
|
+
data: NuevaEpsEmpty;
|
|
298
|
+
/**
|
|
299
|
+
* What went wrong, for people; it never contains input values.
|
|
300
|
+
*/
|
|
301
|
+
message: string;
|
|
302
|
+
/**
|
|
303
|
+
* Whether repeating the same request may succeed.
|
|
304
|
+
*/
|
|
305
|
+
retryable: false;
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* A failed answer.
|
|
309
|
+
*/
|
|
310
|
+
export interface NuevaEpsRequestTooLargeError {
|
|
311
|
+
data: null;
|
|
312
|
+
/**
|
|
313
|
+
* The request exceeds the allowed size.
|
|
314
|
+
*/
|
|
315
|
+
error: NuevaEpsRequestTooLargeFailure;
|
|
316
|
+
/**
|
|
317
|
+
* What every answer carries besides its data or error.
|
|
318
|
+
*/
|
|
319
|
+
metadata: NuevaEpsResponseMetadata;
|
|
320
|
+
success: false;
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* The request exceeds the allowed size.
|
|
324
|
+
*/
|
|
325
|
+
export interface NuevaEpsRequestTooLargeFailure {
|
|
326
|
+
/**
|
|
327
|
+
* The failure code, stable across releases.
|
|
328
|
+
*/
|
|
329
|
+
code: "REQUEST_TOO_LARGE";
|
|
330
|
+
/**
|
|
331
|
+
* No fields.
|
|
332
|
+
*/
|
|
333
|
+
data: NuevaEpsEmpty;
|
|
334
|
+
/**
|
|
335
|
+
* What went wrong, for people; it never contains input values.
|
|
336
|
+
*/
|
|
337
|
+
message: string;
|
|
338
|
+
/**
|
|
339
|
+
* Whether repeating the same request may succeed.
|
|
340
|
+
*/
|
|
341
|
+
retryable: false;
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* What every answer carries besides its data or error.
|
|
345
|
+
*/
|
|
346
|
+
export interface NuevaEpsResponseMetadata {
|
|
347
|
+
/**
|
|
348
|
+
* Request correlation identifier, also sent as X-Request-Id.
|
|
349
|
+
*/
|
|
350
|
+
requestId: string;
|
|
351
|
+
}
|
|
352
|
+
/**
|
|
353
|
+
* Another session operation is in progress.
|
|
354
|
+
*/
|
|
355
|
+
export interface NuevaEpsSessionBusyFailure {
|
|
356
|
+
/**
|
|
357
|
+
* The failure code, stable across releases.
|
|
358
|
+
*/
|
|
359
|
+
code: "SESSION_BUSY";
|
|
360
|
+
/**
|
|
361
|
+
* No fields.
|
|
362
|
+
*/
|
|
363
|
+
data: NuevaEpsEmpty;
|
|
364
|
+
/**
|
|
365
|
+
* What went wrong, for people; it never contains input values.
|
|
366
|
+
*/
|
|
367
|
+
message: string;
|
|
368
|
+
/**
|
|
369
|
+
* Whether repeating the same request may succeed.
|
|
370
|
+
*/
|
|
371
|
+
retryable: true;
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* The provider session expired. A new bounded login is required.
|
|
375
|
+
*/
|
|
376
|
+
export interface NuevaEpsSessionRequiredFailure {
|
|
377
|
+
/**
|
|
378
|
+
* The failure code, stable across releases.
|
|
379
|
+
*/
|
|
380
|
+
code: "SESSION_REQUIRED";
|
|
381
|
+
/**
|
|
382
|
+
* No fields.
|
|
383
|
+
*/
|
|
384
|
+
data: NuevaEpsEmpty;
|
|
385
|
+
/**
|
|
386
|
+
* What went wrong, for people; it never contains input values.
|
|
387
|
+
*/
|
|
388
|
+
message: string;
|
|
389
|
+
/**
|
|
390
|
+
* Whether repeating the same request may succeed.
|
|
391
|
+
*/
|
|
392
|
+
retryable: false;
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* A failed answer.
|
|
396
|
+
*/
|
|
397
|
+
export interface NuevaEpsUnauthorizedError {
|
|
398
|
+
data: null;
|
|
399
|
+
/**
|
|
400
|
+
* A valid access token is required.
|
|
401
|
+
*/
|
|
402
|
+
error: NuevaEpsUnauthorizedFailure;
|
|
403
|
+
/**
|
|
404
|
+
* What every answer carries besides its data or error.
|
|
405
|
+
*/
|
|
406
|
+
metadata: NuevaEpsResponseMetadata;
|
|
407
|
+
success: false;
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* A valid access token is required.
|
|
411
|
+
*/
|
|
412
|
+
export interface NuevaEpsUnauthorizedFailure {
|
|
413
|
+
/**
|
|
414
|
+
* The failure code, stable across releases.
|
|
415
|
+
*/
|
|
416
|
+
code: "UNAUTHORIZED";
|
|
417
|
+
/**
|
|
418
|
+
* No fields.
|
|
419
|
+
*/
|
|
420
|
+
data: NuevaEpsEmpty;
|
|
421
|
+
/**
|
|
422
|
+
* What went wrong, for people; it never contains input values.
|
|
423
|
+
*/
|
|
424
|
+
message: string;
|
|
425
|
+
/**
|
|
426
|
+
* Whether repeating the same request may succeed.
|
|
427
|
+
*/
|
|
428
|
+
retryable: false;
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
* A failed answer.
|
|
432
|
+
*/
|
|
433
|
+
export interface NuevaEpsUnsupportedMediaTypeError {
|
|
434
|
+
data: null;
|
|
435
|
+
/**
|
|
436
|
+
* The request content type is not supported.
|
|
437
|
+
*/
|
|
438
|
+
error: NuevaEpsUnsupportedMediaTypeFailure;
|
|
439
|
+
/**
|
|
440
|
+
* What every answer carries besides its data or error.
|
|
441
|
+
*/
|
|
442
|
+
metadata: NuevaEpsResponseMetadata;
|
|
443
|
+
success: false;
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
* The request content type is not supported.
|
|
447
|
+
*/
|
|
448
|
+
export interface NuevaEpsUnsupportedMediaTypeFailure {
|
|
449
|
+
/**
|
|
450
|
+
* The failure code, stable across releases.
|
|
451
|
+
*/
|
|
452
|
+
code: "UNSUPPORTED_MEDIA_TYPE";
|
|
453
|
+
/**
|
|
454
|
+
* No fields.
|
|
455
|
+
*/
|
|
456
|
+
data: NuevaEpsEmpty;
|
|
457
|
+
/**
|
|
458
|
+
* What went wrong, for people; it never contains input values.
|
|
459
|
+
*/
|
|
460
|
+
message: string;
|
|
461
|
+
/**
|
|
462
|
+
* Whether repeating the same request may succeed.
|
|
463
|
+
*/
|
|
464
|
+
retryable: false;
|
|
465
|
+
}
|
|
466
|
+
/**
|
|
467
|
+
* A failed answer.
|
|
468
|
+
*/
|
|
469
|
+
export interface NuevaEpsUpstreamTimeoutError {
|
|
470
|
+
data: null;
|
|
471
|
+
/**
|
|
472
|
+
* The upstream service did not respond before its deadline.
|
|
473
|
+
*/
|
|
474
|
+
error: NuevaEpsUpstreamTimeoutFailure;
|
|
475
|
+
/**
|
|
476
|
+
* What every answer carries besides its data or error.
|
|
477
|
+
*/
|
|
478
|
+
metadata: NuevaEpsResponseMetadata;
|
|
479
|
+
success: false;
|
|
480
|
+
}
|
|
481
|
+
/**
|
|
482
|
+
* The upstream service did not respond before its deadline.
|
|
483
|
+
*/
|
|
484
|
+
export interface NuevaEpsUpstreamTimeoutFailure {
|
|
485
|
+
/**
|
|
486
|
+
* The failure code, stable across releases.
|
|
487
|
+
*/
|
|
488
|
+
code: "UPSTREAM_TIMEOUT";
|
|
489
|
+
/**
|
|
490
|
+
* No fields.
|
|
491
|
+
*/
|
|
492
|
+
data: NuevaEpsEmpty;
|
|
493
|
+
/**
|
|
494
|
+
* What went wrong, for people; it never contains input values.
|
|
495
|
+
*/
|
|
496
|
+
message: string;
|
|
497
|
+
/**
|
|
498
|
+
* Whether repeating the same request may succeed.
|
|
499
|
+
*/
|
|
500
|
+
retryable: true;
|
|
501
|
+
}
|
|
502
|
+
/**
|
|
503
|
+
* The upstream service could not complete the request.
|
|
504
|
+
*/
|
|
505
|
+
export interface NuevaEpsUpstreamUnavailableFailure {
|
|
506
|
+
/**
|
|
507
|
+
* The failure code, stable across releases.
|
|
508
|
+
*/
|
|
509
|
+
code: "UPSTREAM_UNAVAILABLE";
|
|
510
|
+
/**
|
|
511
|
+
* No fields.
|
|
512
|
+
*/
|
|
513
|
+
data: NuevaEpsEmpty;
|
|
514
|
+
/**
|
|
515
|
+
* What went wrong, for people; it never contains input values.
|
|
516
|
+
*/
|
|
517
|
+
message: string;
|
|
518
|
+
/**
|
|
519
|
+
* Whether repeating the same request may succeed.
|
|
520
|
+
*/
|
|
521
|
+
retryable: true;
|
|
522
|
+
}
|