@arbol-ai/sdk 5.14.0 → 5.15.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.
|
@@ -11,9 +11,10 @@ export interface Client {
|
|
|
11
11
|
* Look up an exact IPS invoice reference
|
|
12
12
|
*
|
|
13
13
|
* Look up one exact invoice prefix and number in the active billing
|
|
14
|
-
* connection’s institution. Returns
|
|
15
|
-
*
|
|
16
|
-
*
|
|
14
|
+
* connection’s institution. Returns the number of matching rows. Outside the
|
|
15
|
+
* provider’s live reporting hours, REPORTING_WINDOW_CLOSED gives the opening
|
|
16
|
+
* hour (inclusive), closing hour (exclusive) and time zone. Payment or
|
|
17
|
+
* rejection requires separate evidence.
|
|
17
18
|
*/
|
|
18
19
|
lookup(request: LookupRequest, options?: RequestOptions): Promise<LookupResponse>;
|
|
19
20
|
}
|
|
@@ -2,4 +2,4 @@ export { ApiError } from "../../_/index.js";
|
|
|
2
2
|
export type { RequestOptions } from "../../_/index.js";
|
|
3
3
|
export { createClient } from "./client.js";
|
|
4
4
|
export type { Client, ClientOptions, LookupRequest, LookupResponse, } from "./client.js";
|
|
5
|
-
export type { SaludTotalInvoiceLookupInput, SaludTotalInvoiceLookupResult, SaludTotalInvoiceLookupResultResponse, SaludTotalLookupInvoiceConflictError, SaludTotalLookupInvoiceConflictFailure, SaludTotalLookupInvoiceForbiddenError, SaludTotalLookupInvoiceForbiddenFailure, SaludTotalLookupInvoiceServiceUnavailableError, SaludTotalLookupInvoiceServiceUnavailableFailure, SaludTotalLookupInvoiceTooManyRequestsError, SaludTotalLookupInvoiceTooManyRequestsFailure, } from "./models.js";
|
|
5
|
+
export type { SaludTotalInvoiceLookupInput, SaludTotalInvoiceLookupResult, SaludTotalInvoiceLookupResultResponse, SaludTotalLookupInvoiceConflictError, SaludTotalLookupInvoiceConflictFailure, SaludTotalLookupInvoiceForbiddenError, SaludTotalLookupInvoiceForbiddenFailure, SaludTotalLookupInvoiceServiceUnavailableError, SaludTotalLookupInvoiceServiceUnavailableFailure, SaludTotalLookupInvoiceTooManyRequestsError, SaludTotalLookupInvoiceTooManyRequestsFailure, SaludTotalReportingWindowClosedFailure, SaludTotalReportingWindowClosedFailureData, } from "./models.js";
|
|
@@ -5,10 +5,13 @@ export interface SaludTotalInvoiceLookupInput {
|
|
|
5
5
|
invoiceNumber: string;
|
|
6
6
|
prefix: string;
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export type SaludTotalInvoiceLookupResult = {
|
|
9
|
+
recordCount: 0;
|
|
10
|
+
status: "no_match";
|
|
11
|
+
} | {
|
|
9
12
|
recordCount: number;
|
|
10
|
-
status: "
|
|
11
|
-
}
|
|
13
|
+
status: "records_found";
|
|
14
|
+
};
|
|
12
15
|
/**
|
|
13
16
|
* A successful answer.
|
|
14
17
|
*/
|
|
@@ -33,7 +36,7 @@ export interface SaludTotalLookupInvoiceConflictError {
|
|
|
33
36
|
metadata: ResponseMetadata;
|
|
34
37
|
success: false;
|
|
35
38
|
}
|
|
36
|
-
export type SaludTotalLookupInvoiceConflictFailure = SaludTotalConnectionUnavailableFailure | SaludTotalSessionClosedFailure | SaludTotalInteractiveVerificationRequiredFailure | SaludTotalCredentialsRejectedFailure | SaludTotalIpsIdentityMismatchFailure;
|
|
39
|
+
export type SaludTotalLookupInvoiceConflictFailure = SaludTotalReportingWindowClosedFailure | SaludTotalConnectionUnavailableFailure | SaludTotalSessionClosedFailure | SaludTotalInteractiveVerificationRequiredFailure | SaludTotalCredentialsRejectedFailure | SaludTotalIpsIdentityMismatchFailure;
|
|
37
40
|
/**
|
|
38
41
|
* A failed answer.
|
|
39
42
|
*/
|
|
@@ -73,3 +76,26 @@ export interface SaludTotalLookupInvoiceTooManyRequestsError {
|
|
|
73
76
|
success: false;
|
|
74
77
|
}
|
|
75
78
|
export type SaludTotalLookupInvoiceTooManyRequestsFailure = RateLimitedFailure | SaludTotalLoginCoolingDownFailure;
|
|
79
|
+
/**
|
|
80
|
+
* Invoice reporting is closed. Retry during the provider’s reporting hours.
|
|
81
|
+
*/
|
|
82
|
+
export interface SaludTotalReportingWindowClosedFailure {
|
|
83
|
+
/**
|
|
84
|
+
* The failure code, stable across releases.
|
|
85
|
+
*/
|
|
86
|
+
code: "REPORTING_WINDOW_CLOSED";
|
|
87
|
+
data: SaludTotalReportingWindowClosedFailureData;
|
|
88
|
+
/**
|
|
89
|
+
* What went wrong, for people; it never contains input values.
|
|
90
|
+
*/
|
|
91
|
+
message: string;
|
|
92
|
+
/**
|
|
93
|
+
* Whether repeating the same request may succeed.
|
|
94
|
+
*/
|
|
95
|
+
retryable: true;
|
|
96
|
+
}
|
|
97
|
+
export interface SaludTotalReportingWindowClosedFailureData {
|
|
98
|
+
closesAtHour: number;
|
|
99
|
+
opensAtHour: number;
|
|
100
|
+
timeZone: "America/Bogota";
|
|
101
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbol-ai/sdk",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.15.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.
|
|
60
|
-
"sha256": "
|
|
59
|
+
"release": "1.20261101.1149",
|
|
60
|
+
"sha256": "ea84a99894927badee6af4fd1b9b6e39e845eb87fe5b2b8bcedb20bce67e956d"
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
}
|